<?php
defined('IN_MAIN') or exit('Invalid Access!');

function ic_found($ic){
global $vars;
$db=$vars["db"];
if(strlen($ic)){
 return @mysql_num_rows(mysql_query("select * from $db->users where ic='$ic'")) or false;
}
}
?>